// var config = require('webpack')
module.exports = {
  devServer: {
    proxy: {
      "/api": {
        // target: 'http://192.168.220.196:8080/api',
        target: "http://218.95.70.237:8090/api",
        // target: "http://118.31.33.41:8080/api",
        changeOrigin: true,
        ws: true,
        pathRewrite: {
          "^/api": ""
        }
      }
    },
    port: 8090
  },
  transpileDependencies: ["vue-echarts", "resize-detector"]
};
